/**
 * creation: 12-apr-2007
 */
package org.jfonia.harmony;


/**
 * Model for single chord alteration, e.g. add9 or #11 or omit3
 * @author Wijnand
 *
 */
public class ChordAlteration
{
	protected int degree;			// 3:third, 5:fifth, ...
	protected int alterationType;	// OMIT, PERFECT, RAISE, ...
	
	public ChordAlteration(int degree, int alterationType)
	{
		this.degree = degree;
		this.alterationType = alterationType;
	}

	public int getAlterationType()
	{
		return alterationType;
	}

	public void setAlterationType(int alterationType)
	{
		this.alterationType = alterationType;
	}

	public int getDegree()
	{
		return degree;
	}

	public void setDegree(int degree)
	{
		this.degree = degree;
	}
	
	public String toString()
	{
		return "ChordAlteration["+degree+":"+alterationType+"]";
	}
}
